import { UserContext, TokenContext } from "./context"

import { useContext } from "react"

export default function useContextCustom() {
  const user = useContext(UserContext)
  const token = useContext(TokenContext)
  return {
    user,
    token
  }
}
